home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / video / script-8 < prev    next >
Encoding:
Text File  |  1992-08-27  |  192 b   |  10 lines

  1. /* 
  2.  * here is the second one -- function turned into an operator
  3.  * and optimization possible
  4.  */
  5.  
  6. retrieve (c1.name, c2.name)
  7. from c1 in city, c2 in city
  8. where c1.location && c2.location
  9. \p
  10.